-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Onyx to use a map for Onyx collection keys #27130
Conversation
Is this just full regression test? |
Tests are failing due a previously merged PR. devDependency is included in release code. This change indeed affects the internal working of Onyx, so a full regression test might be needed, however the main difference is on app start and transitions between pages. So if you assume correctness the only thing to measure should be app start. |
@ospfranco I just created a PR with a possible fix for this, let me know if it works for you |
After manually applying the changes on Expensify/react-native-onyx#335, tests are now passing So that should be merged when possible |
@situchan this is ready for testing, there are no clear steps. I think you could just play around the app, try logging in and out with couple accounts and couple platforms |
Reviewer Checklist
Screenshots/VideosWebMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests well
Main scope of testing:
- logout, login different accounts
- offline<->online test with user preference update
- request money flow
Screen.Recording.2023-09-13.at.10.36.44.AM.mov
- Not from this PR but it would be good to remove all stale draft data from Onyx after logout
Screen.Recording.2023-09-13.at.11.02.11.AM.mov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/mountiny in version: 1.3.69-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.69-2 🚀
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.3.70-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.70-8 🚀
|
Details
Update Onyx to the latest version after merging using a Map for collection keys. Merged PR.
Fixed Issues
$ #26087
PROPOSAL:
Tests
Nothing specific, full regression tests will be required
Offline tests
Nothing specific, full regression tests will be required
QA Steps
Nothing specific, full regression tests will be required
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android